const px2rem = require("postcss-px2rem");
const isProduction = process.env.NODE_ENV === 'production';
module.exports = {
    entry: './main.js', //webpack打包入口
    devServer: {
        static: './'  // webpack服务器访问入口
    },
    externals: {
        "AMap":'AMap'
    },
    mode: 'development', // 开发模式
    module: {
        rules: [
            {
                test: /\.m?scss$/,
                use: ['sass-loader', 'style-loader', 'css-loader','less-loader']
            }
        ]
    }
}
